/* 统一为与注册页一致的风格 */
.login-container {
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.login-title {
  font-size: 28px;
  font-weight: bold;
  color: white;
  margin: 0 0 8px 0;
}

.login-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.login-tabs {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.login-tabs .adm-tabs-header {
  background: #f8f9fa;
  border-bottom: 1px solid #e1e5e9;
}

.login-tabs .adm-tabs-tab {
  font-weight: 600;
  color: #666;
}

.login-tabs .adm-tabs-tab-active {
  color: #ff6b35;
}

.login-form {
  padding: 24px;
}

.login-form .adm-form-item-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.login-form .adm-input {
  border-radius: 8px;
  border: 1px solid #e1e5e9;
  padding: 12px 16px;
  font-size: 16px;
}

.login-form .adm-input:focus {
  border-color: #ff6b35;
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.login-actions {
  margin-top: 24px;
}

.login-actions .adm-button {
  border-radius: 12px;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  border: none;
}

.login-actions .adm-button:active {
  background: linear-gradient(135deg, #e55a2b 0%, #e55a2b 100%);
}

/* 验证码输入与按钮并排布局 */
.code-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.code-row .adm-input {
  flex: 0 0 100px;
  max-width: 40%;
}

.send-code-btn {
  height: 28px;
  line-height: 28px;
  border-color: #ff6b35;
  color: #ff6b35;
  border-radius: 12px;
  white-space: nowrap;
  font-size: 12px;
  padding: 0 8px;
}

.send-code-btn:active {
  background-color: rgba(255, 107, 53, 0.08);
}

.login-links {
  text-align: center;
  margin-top: 16px;
}

.forgot-password-link {
  padding: 0;
  color: rgba(255, 255, 255, 0.8) !important;
}

.forgot-password-link:hover {
  color: white !important;
}

.register-section {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.register-text {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px;
}

.register-link {
  padding: 0 !important;
  color: white !important;
  font-weight: 600 !important;
  background: transparent !important;
  border: none !important;
}

.register-link:hover {
  color: rgba(255, 255, 255, 0.9) !important;
  background: transparent !important;
}

.register-link:active {
  color: white !important;
  background: transparent !important;
}

/* 响应式 */
@media (max-width: 480px) {
  .login-container { padding: 16px; }
  .login-title { font-size: 24px; }
  .login-form { padding: 20px; }
  .code-row .adm-input {
    flex-basis: 80px;
  }
}

.login-container {
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.login-title {
  font-size: 28px;
  font-weight: bold;
  color: white;
  margin: 0 0 8px 0;
}

.login-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.login-form {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-form .adm-form-item-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.login-form .adm-input {
  border-radius: 8px;
  border: 1px solid #e1e5e9;
  padding: 12px 16px;
  font-size: 16px;
}

.login-form .adm-input:focus {
  border-color: #ff6b35;
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.login-actions {
  margin-top: 24px;
}

.login-button {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  border: none;
  border-radius: 12px;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.login-button:active {
  background: linear-gradient(135deg, #e55a2b 0%, #e55a2b 100%);
}

.login-links {
  text-align: center;
  margin-bottom: 20px;
}

.forgot-password-link {
  color: #ff6b35;
  font-size: 14px;
  padding: 0;
}

.register-section {
  text-align: center;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.register-text {
  font-size: 14px;
  color: #666;
}

.register-link {
  color: #ff6b35;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
}

.guest-login-section {
  border-top: 1px solid #e1e5e9;
  padding-top: 20px;
}

.guest-login-button {
  border: 2px solid #667eea;
  color: #ff6b35;
  border-radius: 12px;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
}

.guest-login-button:active {
  background-color: rgba(255, 107, 53, 0.1);
}

/* 响应式设计 */
@media (max-width: 480px) {
  .login-container {
    padding: 16px;
  }
  
  .login-title {
    font-size: 24px;
  }
  
  .login-form {
    padding: 20px;
  }
}

/* 表单验证错误样式 */
.adm-form-item-feedback-error {
  color: #ff4d4f;
  font-size: 12px;
  margin-top: 4px;
}

/* Toast 自定义样式 */
.adm-toast {
  border-radius: 8px;
}
